# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'Settings.ui'
#
# Created: Mon Feb 14 17:26:10 2011
#      by: PyQt4 UI code generator 4.8.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_Settings(object):
    def setupUi(self, Settings):
        Settings.setObjectName(_fromUtf8("Settings"))
        Settings.setWindowModality(QtCore.Qt.ApplicationModal)
        Settings.resize(815, 634)
        Settings.setMinimumSize(QtCore.QSize(761, 617))
        self.gridLayout_2 = QtGui.QGridLayout(Settings)
        self.gridLayout_2.setMargin(3)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.exitBtn = QtGui.QPushButton(Settings)
        self.exitBtn.setMinimumSize(QtCore.QSize(100, 0))
        self.exitBtn.setMaximumSize(QtCore.QSize(16777215, 22))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Undo.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.exitBtn.setIcon(icon)
        self.exitBtn.setAutoDefault(False)
        self.exitBtn.setObjectName(_fromUtf8("exitBtn"))
        self.gridLayout_2.addWidget(self.exitBtn, 0, 5, 1, 1)
        self.label_3 = QtGui.QLabel(Settings)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(230, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 0, 4, 1, 1)
        self.saveSetBtn = QtGui.QPushButton(Settings)
        self.saveSetBtn.setMaximumSize(QtCore.QSize(16777215, 22))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Apply SH.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.saveSetBtn.setIcon(icon1)
        self.saveSetBtn.setAutoDefault(False)
        self.saveSetBtn.setObjectName(_fromUtf8("saveSetBtn"))
        self.gridLayout_2.addWidget(self.saveSetBtn, 0, 2, 1, 1)
        self.deleteSetBtn = QtGui.QPushButton(Settings)
        self.deleteSetBtn.setMaximumSize(QtCore.QSize(16777215, 22))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Burn dustbin.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.deleteSetBtn.setIcon(icon2)
        self.deleteSetBtn.setAutoDefault(False)
        self.deleteSetBtn.setObjectName(_fromUtf8("deleteSetBtn"))
        self.gridLayout_2.addWidget(self.deleteSetBtn, 0, 3, 1, 1)
        self.settingsSet = QtGui.QComboBox(Settings)
        self.settingsSet.setMinimumSize(QtCore.QSize(200, 0))
        self.settingsSet.setEditable(True)
        self.settingsSet.setObjectName(_fromUtf8("settingsSet"))
        self.gridLayout_2.addWidget(self.settingsSet, 0, 1, 1, 1)
        self.tabWidget = QtGui.QTabWidget(Settings)
        self.tabWidget.setMinimumSize(QtCore.QSize(100, 0))
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout = QtGui.QGridLayout(self.tab)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem1, 0, 3, 1, 2)
        spacerItem2 = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.gridLayout.addItem(spacerItem2, 4, 1, 1, 1)
        self.numberOfFigures = QtGui.QSpinBox(self.tab)
        self.numberOfFigures.setMinimumSize(QtCore.QSize(100, 0))
        self.numberOfFigures.setMinimum(1)
        self.numberOfFigures.setMaximum(4)
        self.numberOfFigures.setObjectName(_fromUtf8("numberOfFigures"))
        self.gridLayout.addWidget(self.numberOfFigures, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.figureWidth = QtGui.QSpinBox(self.tab)
        self.figureWidth.setMinimumSize(QtCore.QSize(100, 0))
        self.figureWidth.setMinimum(10)
        self.figureWidth.setMaximum(100)
        self.figureWidth.setProperty(_fromUtf8("value"), 40)
        self.figureWidth.setObjectName(_fromUtf8("figureWidth"))
        self.gridLayout.addWidget(self.figureWidth, 1, 1, 1, 1)
        self.figureWidthSL = QtGui.QSlider(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.figureWidthSL.sizePolicy().hasHeightForWidth())
        self.figureWidthSL.setSizePolicy(sizePolicy)
        self.figureWidthSL.setMinimumSize(QtCore.QSize(200, 0))
        self.figureWidthSL.setMaximumSize(QtCore.QSize(200, 16777215))
        self.figureWidthSL.setMinimum(10)
        self.figureWidthSL.setMaximum(100)
        self.figureWidthSL.setPageStep(1)
        self.figureWidthSL.setProperty(_fromUtf8("value"), 40)
        self.figureWidthSL.setOrientation(QtCore.Qt.Horizontal)
        self.figureWidthSL.setObjectName(_fromUtf8("figureWidthSL"))
        self.gridLayout.addWidget(self.figureWidthSL, 1, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.tab)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1)
        self.figureBorder = QtGui.QSpinBox(self.tab)
        self.figureBorder.setMinimumSize(QtCore.QSize(100, 0))
        self.figureBorder.setMinimum(1)
        self.figureBorder.setMaximum(50)
        self.figureBorder.setProperty(_fromUtf8("value"), 5)
        self.figureBorder.setObjectName(_fromUtf8("figureBorder"))
        self.gridLayout.addWidget(self.figureBorder, 2, 1, 1, 1)
        self.figureBorderSL = QtGui.QSlider(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.figureBorderSL.sizePolicy().hasHeightForWidth())
        self.figureBorderSL.setSizePolicy(sizePolicy)
        self.figureBorderSL.setMinimumSize(QtCore.QSize(200, 0))
        self.figureBorderSL.setMaximumSize(QtCore.QSize(200, 16777215))
        self.figureBorderSL.setMinimum(1)
        self.figureBorderSL.setMaximum(50)
        self.figureBorderSL.setPageStep(1)
        self.figureBorderSL.setProperty(_fromUtf8("value"), 5)
        self.figureBorderSL.setOrientation(QtCore.Qt.Horizontal)
        self.figureBorderSL.setObjectName(_fromUtf8("figureBorderSL"))
        self.gridLayout.addWidget(self.figureBorderSL, 2, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.tab)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1)
        self.bodyColorBtn = QtGui.QToolButton(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.bodyColorBtn.sizePolicy().hasHeightForWidth())
        self.bodyColorBtn.setSizePolicy(sizePolicy)
        self.bodyColorBtn.setMinimumSize(QtCore.QSize(50, 0))
        self.bodyColorBtn.setMaximumSize(QtCore.QSize(50, 16777215))
        self.bodyColorBtn.setText(_fromUtf8(""))
        self.bodyColorBtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextOnly)
        self.bodyColorBtn.setObjectName(_fromUtf8("bodyColorBtn"))
        self.gridLayout.addWidget(self.bodyColorBtn, 3, 1, 1, 1)
        self.scrollArea = QtGui.QScrollArea(self.tab)
        self.scrollArea.setFrameShape(QtGui.QFrame.Box)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget(self.scrollArea)
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 781, 436))
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.figureSettingList = QtGui.QVBoxLayout()
        self.figureSettingList.setObjectName(_fromUtf8("figureSettingList"))
        self.verticalLayout_2.addLayout(self.figureSettingList)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.gridLayout.addWidget(self.scrollArea, 5, 0, 1, 5)
        self.label = QtGui.QLabel(self.tab)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tab_2)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.tab_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 0, 0, 1, 1)
        self.rotationRadius = QtGui.QSpinBox(self.tab_2)
        self.rotationRadius.setMinimumSize(QtCore.QSize(100, 0))
        self.rotationRadius.setMinimum(30)
        self.rotationRadius.setMaximum(200)
        self.rotationRadius.setObjectName(_fromUtf8("rotationRadius"))
        self.gridLayout_3.addWidget(self.rotationRadius, 0, 1, 1, 1)
        self.rotationRadiusSL = QtGui.QSlider(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rotationRadiusSL.sizePolicy().hasHeightForWidth())
        self.rotationRadiusSL.setSizePolicy(sizePolicy)
        self.rotationRadiusSL.setMinimumSize(QtCore.QSize(300, 0))
        self.rotationRadiusSL.setMaximumSize(QtCore.QSize(300, 16777215))
        self.rotationRadiusSL.setMinimum(30)
        self.rotationRadiusSL.setMaximum(200)
        self.rotationRadiusSL.setOrientation(QtCore.Qt.Horizontal)
        self.rotationRadiusSL.setObjectName(_fromUtf8("rotationRadiusSL"))
        self.gridLayout_3.addWidget(self.rotationRadiusSL, 0, 2, 1, 2)
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_3.addWidget(self.label_7, 1, 0, 1, 1)
        self.rotationSpeed = QtGui.QSpinBox(self.tab_2)
        self.rotationSpeed.setMinimumSize(QtCore.QSize(100, 0))
        self.rotationSpeed.setMinimum(-180)
        self.rotationSpeed.setMaximum(180)
        self.rotationSpeed.setObjectName(_fromUtf8("rotationSpeed"))
        self.gridLayout_3.addWidget(self.rotationSpeed, 1, 1, 1, 1)
        self.rotationSpeedSL = QtGui.QSlider(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rotationSpeedSL.sizePolicy().hasHeightForWidth())
        self.rotationSpeedSL.setSizePolicy(sizePolicy)
        self.rotationSpeedSL.setMinimumSize(QtCore.QSize(300, 0))
        self.rotationSpeedSL.setMaximumSize(QtCore.QSize(300, 16777215))
        self.rotationSpeedSL.setMinimum(-180)
        self.rotationSpeedSL.setMaximum(180)
        self.rotationSpeedSL.setOrientation(QtCore.Qt.Horizontal)
        self.rotationSpeedSL.setObjectName(_fromUtf8("rotationSpeedSL"))
        self.gridLayout_3.addWidget(self.rotationSpeedSL, 1, 2, 1, 2)
        self.label_8 = QtGui.QLabel(self.tab_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_3.addWidget(self.label_8, 2, 0, 1, 1)
        self.figureRotationSpeed = QtGui.QSpinBox(self.tab_2)
        self.figureRotationSpeed.setMinimumSize(QtCore.QSize(100, 0))
        self.figureRotationSpeed.setMinimum(-180)
        self.figureRotationSpeed.setMaximum(180)
        self.figureRotationSpeed.setObjectName(_fromUtf8("figureRotationSpeed"))
        self.gridLayout_3.addWidget(self.figureRotationSpeed, 2, 1, 1, 1)
        self.figureRotationSpeedSL = QtGui.QSlider(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.figureRotationSpeedSL.sizePolicy().hasHeightForWidth())
        self.figureRotationSpeedSL.setSizePolicy(sizePolicy)
        self.figureRotationSpeedSL.setMinimumSize(QtCore.QSize(300, 0))
        self.figureRotationSpeedSL.setMaximumSize(QtCore.QSize(300, 16777215))
        self.figureRotationSpeedSL.setMinimum(-180)
        self.figureRotationSpeedSL.setMaximum(180)
        self.figureRotationSpeedSL.setOrientation(QtCore.Qt.Horizontal)
        self.figureRotationSpeedSL.setObjectName(_fromUtf8("figureRotationSpeedSL"))
        self.gridLayout_3.addWidget(self.figureRotationSpeedSL, 2, 2, 1, 2)
        self.motionPreview = QtGui.QGraphicsView(self.tab_2)
        self.motionPreview.setFrameShape(QtGui.QFrame.Box)
        self.motionPreview.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.motionPreview.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.motionPreview.setObjectName(_fromUtf8("motionPreview"))
        self.gridLayout_3.addWidget(self.motionPreview, 3, 0, 1, 5)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem3, 0, 4, 1, 1)
        self.lockWithRotationSpeed = QtGui.QCheckBox(self.tab_2)
        self.lockWithRotationSpeed.setObjectName(_fromUtf8("lockWithRotationSpeed"))
        self.gridLayout_3.addWidget(self.lockWithRotationSpeed, 2, 4, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tab_3)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_9 = QtGui.QLabel(self.tab_3)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 0, 0, 1, 1)
        self.gameTime = QtGui.QDoubleSpinBox(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.gameTime.sizePolicy().hasHeightForWidth())
        self.gameTime.setSizePolicy(sizePolicy)
        self.gameTime.setMinimumSize(QtCore.QSize(100, 0))
        self.gameTime.setDecimals(1)
        self.gameTime.setMinimum(0.1)
        self.gameTime.setMaximum(99.0)
        self.gameTime.setSingleStep(0.1)
        self.gameTime.setProperty(_fromUtf8("value"), 2.0)
        self.gameTime.setObjectName(_fromUtf8("gameTime"))
        self.gridLayout_4.addWidget(self.gameTime, 0, 1, 1, 1)
        self.label_13 = QtGui.QLabel(self.tab_3)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_4.addWidget(self.label_13, 2, 0, 1, 1)
        self.flyAwayTimeFrom = QtGui.QDoubleSpinBox(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.flyAwayTimeFrom.sizePolicy().hasHeightForWidth())
        self.flyAwayTimeFrom.setSizePolicy(sizePolicy)
        self.flyAwayTimeFrom.setMinimumSize(QtCore.QSize(100, 0))
        self.flyAwayTimeFrom.setDecimals(1)
        self.flyAwayTimeFrom.setMinimum(1.0)
        self.flyAwayTimeFrom.setMaximum(99.0)
        self.flyAwayTimeFrom.setSingleStep(0.1)
        self.flyAwayTimeFrom.setObjectName(_fromUtf8("flyAwayTimeFrom"))
        self.gridLayout_4.addWidget(self.flyAwayTimeFrom, 2, 1, 1, 1)
        self.roundPreview = QtGui.QGraphicsView(self.tab_3)
        self.roundPreview.setFrameShape(QtGui.QFrame.Box)
        self.roundPreview.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.roundPreview.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.roundPreview.setObjectName(_fromUtf8("roundPreview"))
        self.gridLayout_4.addWidget(self.roundPreview, 5, 0, 1, 8)
        self.restartPreviewBtn = QtGui.QPushButton(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.restartPreviewBtn.sizePolicy().hasHeightForWidth())
        self.restartPreviewBtn.setSizePolicy(sizePolicy)
        self.restartPreviewBtn.setMinimumSize(QtCore.QSize(90, 0))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/icons/Baseball.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.restartPreviewBtn.setIcon(icon3)
        self.restartPreviewBtn.setAutoDefault(False)
        self.restartPreviewBtn.setObjectName(_fromUtf8("restartPreviewBtn"))
        self.gridLayout_4.addWidget(self.restartPreviewBtn, 4, 7, 1, 1)
        self.label_14 = QtGui.QLabel(self.tab_3)
        self.label_14.setAlignment(QtCore.Qt.AlignCenter)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_4.addWidget(self.label_14, 2, 2, 1, 1)
        self.flyAwayTimeTo = QtGui.QDoubleSpinBox(self.tab_3)
        self.flyAwayTimeTo.setMinimumSize(QtCore.QSize(100, 0))
        self.flyAwayTimeTo.setMaximumSize(QtCore.QSize(100, 16777215))
        self.flyAwayTimeTo.setDecimals(1)
        self.flyAwayTimeTo.setMinimum(1.0)
        self.flyAwayTimeTo.setMaximum(99.0)
        self.flyAwayTimeTo.setSingleStep(0.1)
        self.flyAwayTimeTo.setObjectName(_fromUtf8("flyAwayTimeTo"))
        self.gridLayout_4.addWidget(self.flyAwayTimeTo, 2, 3, 1, 1)
        self.flyAwaySpeedSL = QtGui.QSlider(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.flyAwaySpeedSL.sizePolicy().hasHeightForWidth())
        self.flyAwaySpeedSL.setSizePolicy(sizePolicy)
        self.flyAwaySpeedSL.setMinimumSize(QtCore.QSize(300, 0))
        self.flyAwaySpeedSL.setMaximumSize(QtCore.QSize(300, 16777215))
        self.flyAwaySpeedSL.setMinimum(10)
        self.flyAwaySpeedSL.setMaximum(200)
        self.flyAwaySpeedSL.setProperty(_fromUtf8("value"), 50)
        self.flyAwaySpeedSL.setOrientation(QtCore.Qt.Horizontal)
        self.flyAwaySpeedSL.setObjectName(_fromUtf8("flyAwaySpeedSL"))
        self.gridLayout_4.addWidget(self.flyAwaySpeedSL, 4, 2, 1, 4)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem4, 2, 4, 1, 4)
        self.flyAwaySpeed = QtGui.QSpinBox(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.flyAwaySpeed.sizePolicy().hasHeightForWidth())
        self.flyAwaySpeed.setSizePolicy(sizePolicy)
        self.flyAwaySpeed.setMinimumSize(QtCore.QSize(100, 0))
        self.flyAwaySpeed.setMinimum(10)
        self.flyAwaySpeed.setMaximum(250)
        self.flyAwaySpeed.setProperty(_fromUtf8("value"), 50)
        self.flyAwaySpeed.setObjectName(_fromUtf8("flyAwaySpeed"))
        self.gridLayout_4.addWidget(self.flyAwaySpeed, 4, 1, 1, 1)
        self.flyAwayTimeout = QtGui.QDoubleSpinBox(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.flyAwayTimeout.sizePolicy().hasHeightForWidth())
        self.flyAwayTimeout.setSizePolicy(sizePolicy)
        self.flyAwayTimeout.setMinimumSize(QtCore.QSize(100, 0))
        self.flyAwayTimeout.setDecimals(1)
        self.flyAwayTimeout.setMinimum(1.0)
        self.flyAwayTimeout.setMaximum(99.0)
        self.flyAwayTimeout.setSingleStep(0.1)
        self.flyAwayTimeout.setObjectName(_fromUtf8("flyAwayTimeout"))
        self.gridLayout_4.addWidget(self.flyAwayTimeout, 3, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.tab_3)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_4.addWidget(self.label_11, 4, 0, 1, 1)
        self.label_12 = QtGui.QLabel(self.tab_3)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_4.addWidget(self.label_12, 3, 0, 1, 1)
        self.roundStartTime = QtGui.QDoubleSpinBox(self.tab_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.roundStartTime.sizePolicy().hasHeightForWidth())
        self.roundStartTime.setSizePolicy(sizePolicy)
        self.roundStartTime.setMinimumSize(QtCore.QSize(100, 0))
        self.roundStartTime.setDecimals(1)
        self.roundStartTime.setMinimum(0.0)
        self.roundStartTime.setMaximum(10.0)
        self.roundStartTime.setSingleStep(0.1)
        self.roundStartTime.setProperty(_fromUtf8("value"), 1.0)
        self.roundStartTime.setObjectName(_fromUtf8("roundStartTime"))
        self.gridLayout_4.addWidget(self.roundStartTime, 1, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.tab_3)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_4.addWidget(self.label_10, 1, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem5, 4, 6, 1, 1)
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.tabWidget, 1, 0, 1, 6)

        self.retranslateUi(Settings)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.figureWidth, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureWidthSL.setValue)
        QtCore.QObject.connect(self.figureWidthSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onFigureWidthChanged)
        QtCore.QObject.connect(self.figureBorder, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureBorderSL.setValue)
        QtCore.QObject.connect(self.figureBorderSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onFigureBorderChanged)
        QtCore.QObject.connect(self.figureWidthSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureWidth.setValue)
        QtCore.QObject.connect(self.figureBorderSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureBorder.setValue)
        QtCore.QObject.connect(self.exitBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), Settings.close)
        QtCore.QObject.connect(self.bodyColorBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), Settings.onBodyColorChange)
        QtCore.QObject.connect(self.saveSetBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), Settings.onSave)
        QtCore.QObject.connect(self.deleteSetBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), Settings.onDelete)
        QtCore.QObject.connect(self.settingsSet, QtCore.SIGNAL(_fromUtf8("currentIndexChanged(QString)")), Settings.onSetChanged)
        QtCore.QObject.connect(self.figureWidthSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.figureBorderSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.rotationRadius, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.rotationRadiusSL.setValue)
        QtCore.QObject.connect(self.rotationSpeed, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.rotationSpeedSL.setValue)
        QtCore.QObject.connect(self.figureRotationSpeed, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureRotationSpeedSL.setValue)
        QtCore.QObject.connect(self.rotationRadiusSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.rotationRadius.setValue)
        QtCore.QObject.connect(self.rotationRadiusSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onRotationRadiusChanged)
        QtCore.QObject.connect(self.rotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.rotationSpeed.setValue)
        QtCore.QObject.connect(self.rotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onRotationSpeedChanged)
        QtCore.QObject.connect(self.figureRotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.figureRotationSpeed.setValue)
        QtCore.QObject.connect(self.figureRotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onFigureRotationSpeedChanged)
        QtCore.QObject.connect(self.rotationRadiusSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.rotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.figureRotationSpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.lockWithRotationSpeed, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.figureRotationSpeed.setDisabled)
        QtCore.QObject.connect(self.lockWithRotationSpeed, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.figureRotationSpeedSL.setDisabled)
        QtCore.QObject.connect(self.lockWithRotationSpeed, QtCore.SIGNAL(_fromUtf8("pressed()")), Settings.onDataChanged)
        QtCore.QObject.connect(self.lockWithRotationSpeed, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), Settings.onRotationSpeedLockChanged)
        QtCore.QObject.connect(self.flyAwaySpeed, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.flyAwaySpeedSL.setValue)
        QtCore.QObject.connect(self.flyAwaySpeedSL, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.flyAwaySpeed.setValue)
        QtCore.QObject.connect(self.gameTime, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onGameTimeChanged)
        QtCore.QObject.connect(self.roundStartTime, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onRoundStartTimeChanged)
        QtCore.QObject.connect(self.flyAwayTimeFrom, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onFlyAwayFromChanged)
        QtCore.QObject.connect(self.flyAwayTimeout, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onFlyAwayTimeoutChanged)
        QtCore.QObject.connect(self.flyAwaySpeed, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onFlyAwaySpeedChanged)
        QtCore.QObject.connect(self.gameTime, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.roundStartTime, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.flyAwayTimeFrom, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.flyAwaySpeed, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.flyAwayTimeout, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onDataChanged)
        QtCore.QObject.connect(self.restartPreviewBtn, QtCore.SIGNAL(_fromUtf8("clicked()")), Settings.onRestartRoundPreview)
        QtCore.QObject.connect(self.tabWidget, QtCore.SIGNAL(_fromUtf8("currentChanged(int)")), Settings.onRestartRoundPreview)
        QtCore.QObject.connect(self.numberOfFigures, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), Settings.onNumberOfFiguresChanged)
        QtCore.QObject.connect(self.flyAwayTimeTo, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onFlyAwayToChanged)
        QtCore.QObject.connect(self.flyAwayTimeTo, QtCore.SIGNAL(_fromUtf8("valueChanged(double)")), Settings.onDataChanged)
        QtCore.QMetaObject.connectSlotsByName(Settings)

    def retranslateUi(self, Settings):
        Settings.setWindowTitle(QtGui.QApplication.translate("Settings", "Settings", None, QtGui.QApplication.UnicodeUTF8))
        self.exitBtn.setText(QtGui.QApplication.translate("Settings", "&Close", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Settings", "Preset:", None, QtGui.QApplication.UnicodeUTF8))
        self.saveSetBtn.setText(QtGui.QApplication.translate("Settings", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteSetBtn.setText(QtGui.QApplication.translate("Settings", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Settings", "Figure size:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Settings", "Figure border width:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Settings", "Figure body color:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Settings", "Number of figures:", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("Settings", "Figures", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Settings", "Rotation radius:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Settings", "Rotation speed:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("Settings", "Figure rotation speed:", None, QtGui.QApplication.UnicodeUTF8))
        self.lockWithRotationSpeed.setText(QtGui.QApplication.translate("Settings", "Lock with rotation speed", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("Settings", "Motion", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("Settings", "Total time (minutes):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("Settings", "Fly away time (sec):", None, QtGui.QApplication.UnicodeUTF8))
        self.restartPreviewBtn.setText(QtGui.QApplication.translate("Settings", "&Restart", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("Settings", "to:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("Settings", "Fly away speed:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("Settings", "Fly away timeout (sec):", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("Settings", "Round start time (sec):", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("Settings", "Round", None, QtGui.QApplication.UnicodeUTF8))

from . import resource_rc

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Settings = QtGui.QDialog()
    ui = Ui_Settings()
    ui.setupUi(Settings)
    Settings.show()
    sys.exit(app.exec_())

